
import UserDetail from './components/UserDetail'
import UserForm from './components/UserForm'

import RoleDetail from './components/RoleDetail'
import RoleForm from './components/RoleForm'

import BranchDetail from './components/BranchDetail'
import BranchForm from './components/BranchForm'

import ResourcesDetail from './components/ResourcesDetail'
import ResourcesForm from './components/ResourcesForm'

const DataOptions = {
    user: [
        {
            id: '18',
            name: 'admin',
            phone: '16899809878',
            region: '超级管理员',
            desc: '备注打法独守空房v阿德啊',
            password: '123',
        },
        {
            id: '138',
            name: 'adminOperator',
            phone: '16899809878',
            region: 'operator',
            desc: '备注恶法二手车陈大伟',
            password: '123',
        },
        {
            id: '128',
            name: 'adminGuest',
            phone: '16899809878',
            region: 'guest',
            desc: '备注没见过与法规和闽南语',
            password: '123',
        },
        
    ],
    roles: [
        { id: 1, name: 'super', label: '超级管理员', value: 'super', createTime: '2021-03-11 12:00:12' },
        { id: 2, name: 'operator', label: 'operator', value: 'operator', createTime: '2021-03-11 12:00:12' },
        { id: 3, name: 'guest', label: 'guest', value: 'guest', createTime: '2021-03-11 12:00:12' },
    ],
    fieldlabel: {
        user: {
            zhName: '用户',
            usName: 'user',
            total: 20,
            components: {
                detial: UserDetail,
                form: UserForm
            }
        },
        roles: {
            zhName: '角色',
            usName: 'roles',
            total: 3,
            components: {
                detial: RoleDetail,
                form: RoleForm
            }
        },
        branch: {
            zhName: '部门',
            usName: 'branch',
            total: 70,
            components: {
                detial: BranchDetail,
                form: BranchForm
            }
        },
        resources: {
            zhName: '资源',
            usName: 'resources',
            total: 70,
            components: {
                detial: ResourcesDetail,
                form: ResourcesForm
            }
        },
    },
    fieldMenuLits: [
        { id: 1, name: "用户", type: 'user', icon: "dx-xitong2", bc: "#00688B" },
        // { id: 2, name: "角色", type: 'roles', icon: "dx-tongji", bc: "#218868" },
        // { id: 3, name: "部门", type: 'branch', icon: "dx-xitong1", bc: "#EEB422" },
        // { id: 4, name: "资源", type: 'resources', icon: "dx-xitong", bc: "#4A708B" },
        // { id: 5, name: "系统模块", icon: "dx-kongtiaotubiao-", bc: "#8B008B" },
        // { id: 6, name: "系统模块", icon: "dx-quanxian", bc: "#8B5A2B" },
        // { id: 7, name: "系统模块", icon: "dx-yonghu", bc: "#8E388E" },
        // { id: 8, name: "系统模块", icon: "dx-zhongxin", bc: "#B03060" },
        // { id: 9, name: "系统模块", icon: "dx-xitong3", bc: "#CD3278" },
    ]
}

export default DataOptions